//
//  UITableView+OADTableConfig.h
//  OASDK_Works
//
//  Created by ChenJie on 3/1/20.
//  Copyright © 2020 Mist. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "OADTableConfig.h"
#import "OADTableImplementation.h"

@interface UITableView (OADTableConfig)

@property (nonatomic, strong, setter=oa_setTableConfig_:) OADTableConfig *oa_tableConfig_;
@property (nonatomic, strong, setter=oa_setImplementation:) OADTableImplementation *oa_implementation;

/*
 * UITableViewDataSource
 */

- (NSInteger)oa_numberOfSectionsInTableView;

- (NSInteger)oa_numberOfRowsInSection:(NSInteger)section;

- (UITableViewCell *)oa_cellForRowAtIndexPath:(NSIndexPath *)indexPath;

/*
 * UITableViewDelegate
 */

- (CGFloat)oa_heightForRowAtIndexPath:(NSIndexPath *)indexPath;

@end


